var e = require;
var t = module;
var n = exports;
Object.defineProperty(n, "__esModule", {
    value: !0
});
var o = cc._decorator,
i = o.ccclass,
a = (o.property,
function(e) {
    __extends(t, e);
    function t() {
        return null !== e && e.apply(this, arguments) || this
    }
    t.prototype.start = function() {
        SDK.Base.Event.on("PanelOpen", this.panelOpen, this);
        SDK.Base.Event.on("PanelClose", this.panelClose, this)
    };
    t.prototype.panelOpen = function() {
        this.node.active = !1
    };
    t.prototype.panelClose = function() {
        this.node.active = !0
    };
    return __decorate([i], t)
} (cc.Component));
n.default = a